package com.gxa.community.core.pojo.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.experimental.Accessors;

/**
 *
 * @author juran
 * @since 2022-07-19
 */
@Data
@AllArgsConstructor
@Accessors(chain = true)
@TableName("v_hotword")
@ApiModel(value = "HotWord对象", description = "热词")
public class HotWord implements Serializable,Comparable<HotWord> {

    private static final long serialVersionUID = 1L;

      @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty("热词名称")
    private String name;

    @ApiModelProperty("排序序号")
    private Integer sort;

    @ApiModelProperty("添加时间")
    private Long releaseTime;

    @ApiModelProperty("状态 1上线 2下线")
    private Integer status;


    @Override
    public int compareTo(HotWord o) {
        return 0;
    }
}
